<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script
      src="https://cdn.bootcdn.net/ajax/libs/vue/3.2.40/vue.global.js"
      type="application/javascript"
    ></script>
    <style>
      .class1 {
        background: rgb(210, 50, 50);
        display: none;
      }
    </style>
  </head>
  <body>
    <div id="app">
      {{msg}}
      <p>
        <!-- <img v-bind:src="src" alt="" /> -->
        <a :href="myHref">vue3文档</a>
      </p>
      <hr />
      <button :id="dis" :class="{class1:dis}">见或者不见</button>
    </div>
    <script>
      const app = Vue.createApp({
        data() {
          return {
            msg: "hello world",
            // src: "./url/13.jpg",
            myHref: "https://cn.vuejs.org/guide/introduction.html#api-styles",
            dis: true,
          };
        },
      });
      app.mount("#app");
    </script>
  </body>
</html>
